'use strict';

function compare_collections(collection_a, collection_b) {
  if(collection_a.length!==collection_b.length){
    return false;
  }
  else {
    for(let i of collection_a){
      if(collection_b.includes(i)){
        return true;
      }
    }
  }
}

module.exports = compare_collections;


